package com.loto.insurance.mis.web.entity.config;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

public class Menu implements Serializable {
  private static final long serialVersionUID = 1L;

  private int id;

  private String name;

  private String icon;

  private List<ChildMenu> childMenuList;

  @XmlAttribute(name = "id")
  public int getId() {
	return id;
  }

  public void setId(int id) {
	this.id = id;
  }

  @XmlAttribute(name = "name")
  public String getName() {
	return name;
  }

  public void setName(String name) {
	this.name = name;
  }

  @XmlAttribute(name = "icon")
  public String getIcon() {
	return icon;
  }

  public void setIcon(String icon) {
	this.icon = icon;
  }

  @XmlElement(name = "childMenu")
  public List<ChildMenu> getChildMenuList() {
	return childMenuList;
  }

  public void setChildMenuList(List<ChildMenu> childMenuList) {
	this.childMenuList = childMenuList;
  }
}
